package ua.edu.nuos.jeetraining2012.automator.services.bl.common.services.message;

import ua.edu.nuos.jeetraining2012.automator.core.vo.message.Message;
import ua.edu.nuos.jeetraining2012.automator.core.vo.message.MessageDestination;
import ua.edu.nuos.jeetraining2012.automator.core.vo.message.MessageSource;

/**
 * @author Timur Yarosh
 *         Date: 04.06.13
 *         Time: 0:43
 */
public interface IMessageService {
    void sendMessage(Message message, MessageDestination destination);
    Message receiveMessage(MessageSource source);
}
